package com.gym.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {
    private int empId;//员工编号
    private String account;//员工账号
    private String empname;//员工姓名
    private String sex;//性别
    private int age;//年龄
    @JsonFormat(pattern = "yyyy/MM/dd",timezone = "GTM-8")
    private Date entryTime;//入职时间
    private String staff;//职务
    private String message;//备注信息
    private String password;//员工密码
}
